from selenium import webdriver
from selenium.webdriver.firefox.service import Service

# 注册 驱动打开的位置
service = Service(executable_path="../../dirver_exe/geckodriver.exe")
# 打开浏览器
driver = webdriver.Firefox(service=service)
driver.get("https://www.baidu.com")

if __name__ == '__main__':
    pass
